<demo>示例1</demo>
<template>
    <Tabs v-model:selected="x">
        <Tab title="导航11">内容1</Tab>
        <Tab title="导航2">内容2</Tab>
        <Tab title="导航3">内容3</Tab>
    </Tabs>
</template>
<script lang="ts">
import Tabs from '../lib/Tabs.vue'
import Tab from '../lib/Tab.vue'
import {ref} from 'vue'
export default {
    components:{
        Tabs,
        Tab
    },
    setup(){
        const x=ref('导航2')
        return{
            x
        }
    }
}
</script>